<!DOCTYPE html>
<html>
<head>
<title>Webrtc4all Plug-In</title>
</head>

<script type="text/javascript">
    
    function test() {
        var _plugin = document.getElementById('plugin');
        alert (_plugin.supportsPeerConnection); {
            
        }
    }

    </script>

<body>
<div>
    <embed width="848" height="480" id="plugin" type="application/w4a"></embed>
</div>

<button onclick="test();">test</button>

</body>
</html>
